package com.seeyon.apps.brwh.entity;

/**
 * @author zgh
 * @version 1.0 Create by 2024/6/6 9:41
 */

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 签署流程配置项
 */

public class SignFlowConfigEntity {

  //签署流程主题
  private String signFlowTitle;

  //所有签署方签署完成后流程自动完结，默认值 false
  private Boolean autoFinish;

  //接收相关回调通知的Web地址
  private String notifyUrl;

  private RedirectConfigEntity redirectConfig;

  private NoticeConfigEntity noticeConfig;

  public String getSignFlowTitle() {
    return signFlowTitle;
  }

  public void setSignFlowTitle(String signFlowTitle) {
    this.signFlowTitle = signFlowTitle;
  }

  public Boolean getAutoFinish() {
    return autoFinish;
  }

  public void setAutoFinish(Boolean autoFinish) {
    this.autoFinish = autoFinish;
  }

  public String getNotifyUrl() {
    return notifyUrl;
  }

  public void setNotifyUrl(String notifyUrl) {
    this.notifyUrl = notifyUrl;
  }

  public RedirectConfigEntity getRedirectConfig() {
    return redirectConfig;
  }

  public void setRedirectConfig(RedirectConfigEntity redirectConfig) {
    this.redirectConfig = redirectConfig;
  }

  public NoticeConfigEntity getNoticeConfig() {
    return noticeConfig;
  }

  public void setNoticeConfig(NoticeConfigEntity noticeConfig) {
    this.noticeConfig = noticeConfig;
  }

  public SignFlowConfigEntity() {

  }

  public SignFlowConfigEntity(String signFlowTitle, Boolean autoFinish, String notifyUrl, RedirectConfigEntity redirectConfig,
      NoticeConfigEntity noticeConfig) {
    this.signFlowTitle = signFlowTitle;
    this.autoFinish = autoFinish;
    this.notifyUrl = notifyUrl;
    this.redirectConfig = redirectConfig;
    this.noticeConfig = noticeConfig;
  }
}
